home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 44
/
Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso
/
-serious-
/
virus
/
virus_checkerii
/
arexx
/
onlinecheck.rexx
next >
Wrap
OS/2 REXX Batch file
|
1999-07-12
|
775b
|
36 lines
/* Notifywatch example
Simple example which shows how you can easily have VC check
recent uploaded files. This script offcourse has to be expanded
if you want more then VC just telling you what has happened.
Another drawback is also that it stops as soon as it has received
one notify change.
Maybe someone likes to code this in a better way, I am not an Arexx
coder you know.
*/
options results
address 'Virus_CheckerII' 'NOTIFYWATCH Pinkie'
if VCHECK.0.0 = 0 then do
say 'No viruses found in scan'
call stopnotify
exit
end
say 'Viruses found: ='VCHECK.0.0
do x=1 to VCHECK.0.0
say 'Filename was "'VCHECK.x.1'" and virus was "'VCHECK.x.2'"'
end
call stopnotify
exit
stopnotify:
address 'Virus_CheckerII' 'STOPNOTIFYWATCH Pinkie'
return